<?php

namespace App\HttpController;

use EasySwoole\Http\AbstractInterface\AbstractRouter;
use FastRoute\RouteCollector;
use EasySwoole\Http\Request;
use EasySwoole\Http\Response;

class Router extends AbstractRouter
{

    function initialize( RouteCollector $routeCollector )
    {
        // TODO: Implement initialize() method.
        $routeCollector->get('/member','/V1/member/getUsersInfo');
        $routeCollector->get('/login','/V1/login/doLogin');
        $routeCollector->get('/getmobile','/Taoran/operation/getmobile');  //获取手机号
    }
}